package com.bizfx.component.views
{
	/**
	 * 导航器接口
	 */
	public interface INavigator extends IView
	{
		/**
		 * 获取当前选择项
		 */
		function get selectedItem():NavigatorItemBase;
		/**
		 * 设置当前选择项
		 */ 
		function set selectedItem(value:NavigatorItemBase):void;
		
		/**
		 * 选择指定key的项
		 */
		function selectItemByKey(key:String):void;
		/**
		 * 增加导航项
		 */
		function addItem(item:NavigatorItemBase):void;
		/**
		 * 清除父节点的所有子节点
		 */
		function clearChildren(parentKey:String):void;
		/**
		 * 获取某一key的项
		 */
		function getItemByKey(key:String):NavigatorItemBase;
	}
}